package com.shanyu.nicefish.event;

import org.springframework.context.event.EventListener;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * WxListener
 *
 * @blame Android Team
 */
@Component
public class WxListener {

    @Order(1)
    @EventListener(OrderEvent.class)
    public void SendWxMsg(OrderEvent orderEvent) {
        //具体业务逻辑
        System.out.println( "获取参数userId：" + orderEvent.getEventContent());
        System.out.println("微信消息发送成功！");

    }

}
